fixed and grape sample api working