fixed bug in entries form