Fixed bug in binary creation.