argh sry, forgot to add the changelog (a trivial one, but still), so here it is: changes from v1: * changed commit message to include more details * add comment to moved code block to make the intent of the position clear