Fixed a problem with wrong ifded.