resize fixed, performance improvements and cleanup started