fixed the push brick to stack function

Signed-off-by: Alexander Skjolden <alex@plastboks.net>