fixed null intent bug in service