reduced memory usage, fixed crash