fixes and old stupid code optimization

seriously why be a snowflake attackby()