Fix bug in getFPstr