Fixed bug with params. Added layer reset improvements