fixed OutOfMemory internal Exception due to too high res