fix when res is not defined
remove precompiling
0.3.11