resize fix + makefile