Fixing unpreventing submiting in library page