moved wmname to more appropriate spot