problem on angle detection