fixes, thanks wesley