some little updates for better memory handling