fixed NSInvalidArgumentException issue finally!