out of memory error fixed....