prevents edge issues