Fixed bug with code form