fixed limits on GUI controls