Fixing the bug related to print form