fixed bug in limits page and tidied up limits form