Fixed memory issues
Removing prints