Removed unused variable. Was causing bug