weird fix for weird bugs