Fixed bug in Service static method