pod spec is not working properly