still trying to fix mysterious error