Fixed a bug in deck... this usage is a bit ugly