position bug fixing