finish card layout