fixing image precompile issue