commented several parts to fix crash